<? include_once("../../../common/common_setting_unit.php"); //引入通用的设置文件?>
<? include_once("../controller/system.php"); ?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <? include_once(ROOT_PATH_ . "/controller/common/module/head.php"); ?>

    <?php include 'module/head.php'; ?>
</head>


<body>

<div id="topbar">
    <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?>
</div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
        </div>


        <div id="content">
            <?php $page_title='系统设置';?>
            <?php include ROOT_PATH_ . '/controller/common/module/mod-page-title.php'; ?>


                <blockquote class="layui-elem-quote">基础设置多数是对外使用的资料，请细心填写。</blockquote>
            <br/>


<div class="site detail-box layui-form">
<div class="detail-boxes">
<ul class="detail-boxing">


<form id="site_info" method="post"
      action="system_process.php" enctype="multipart/form-data"
      name="uploadfile" >

    <input type="hidden" name="nid" value="<?php echo $detail['nid'] ?>"/>



    <fieldset class="layui-elem-field layui-field-title" >
        <legend>基础设置</legend>
    </fieldset>



    <div class="layui-form-item site-name">
        <label class="layui-form-label">网站名称 : </label>
        <div class="layui-input-block">
            <input type="text" name="ai_site_name"  autocomplete="off"  class="layui-input" value="<?php echo $detail['site_name'] ?>">
        </div>

    </div>




    <div class="layui-form-item site-name">
        <label class="layui-form-label">浏览器标题 : </label>
        <div class="layui-input-block">
            <input type="text" name="ai_site_title"  autocomplete="off"  class="layui-input" value="<?php echo $detail['site_title'] ?>">
        </div>

    </div>





    <div class="layui-form-item logo"><label class="layui-form-label">LOGO：</label>
        <? if($detail['site_logo']){ ?>
            <img src="/uploadfiles/<? echo $detail['site_logo'] ?>" width="100" style="border:solid 1px #ececec; background-color:#ececec"/>
        <? }
        else
        { echo "暂无资料";}
        ?>
    </div>



    <div class="layui-form-item layui-form-item logo"><label class="layui-form-label">上传文件：</label><input type="file" name="site_logo" onchange="fileChange(this);"/>
        <em class="explain">上传网站首页顶部LOGO</em><br/><br/></div>



    <div class="layui-form-item browser-icon"><label class="layui-form-label">网站图标：</label>
        <? if($detail['site_icon']){ ?>
            <img src="/uploadfiles/<? echo $detail['site_icon'] ?>" width="100"  style="border:solid 1px #ececec;background-color:#ececec"/>
        <? }

        else
        { echo "暂无资料";}
        ?>
    </div>
    <div class="layui-form-item browser-icon"><label class="layui-form-label">上传文件：</label><input type="file" name="site_icon"  onchange="fileChange(this);"/><em class="explain">上传浏览器标签页显示的网站LOGO</em><br/><br/></div>




<div class="function">
<input type="submit" class="layui-btn" value="确认"/>
<input type="reset" class="layui-btn" value="重置"/>
</div>



</form>


                    </ul>
                </div>
            </div>

            <!--content端點01-->
        </div>
        <!--maincontent端點01-->
        <br class="clearfloat"/>
    </div>
    <!--container端點01-->
</div>



<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>
</body>
</html>
